package cn.raven.serve.mapper;

import cn.raven.serve.domain.Product;
import cn.raven.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Raven
 * @since 2022-07-21
 */
public interface ProductMapper extends BaseMapper<Product> {
    //批量上架
    void onsale(List<Long> pIds);
    //批量下架
    void offsale(List<Long> ids);
}
